<% include file="../header.tpl.htm" %>
<% include file="../aside.tpl.htm" %>

  <div class="product_list">
   <div class="right_bar"><h4>产品推荐</h4></div>
   <div class="product">
    <ul>

     <% foreach from=$top_products item=top_product %>
     <li>
      <div class="picture item_over">
        <a href="products/detail/id/<% $top_product.product_id %>">
	        <img src="userfiles/photos/<%
	            $top_product.filename|default:'no_pic.gif' %>" width="148px" height="112px"
	            align="absmiddle" /></a></div>
      <div class="pic_name item_over">
        <a href="products/detail/id/<% $top_product.product_id %>">
            <% $top_product.name %></a></div>
      <div class="pic_name item_over">
        <% if $top_product.price != 0 %>
        <span>￥<% $top_product.price %></span>
        <% /if %>
      </div>
     </li>
     <% /foreach %>

    </ul>
   </div>
  </div>

<% include file="../footer.tpl.htm" %>
